package com.lixinyue.base;

public class demo03 {
    public static void main(String[] args) {
        int money=10_0000_0000;
        int year=20;
        int total=money*year;
        long total2=money*year;//转换之前就已经出现问题了
        long total3=money*(long)year;
        System.out.println(total);
        System.out.println(total2);
        System.out.println(total3);
    }
}
